package com.heaven.back.pojo;


import com.heaven.back.utils.Inits.ItemInit;
import com.heaven.back.utils.Inits.MapInit;
import lombok.Data;
import lombok.Getter;

import java.util.HashMap;


@Data
public final class Game {
    private final HashMap<String, Room> gameMap;


    @Getter
    private static Game game = new Game();

/**
 *
 * @param  入参
 * @return null
 * @author HeavenDirt
 * @date 2024/7/1 15:53
 */
    private Game() {
        gameMap = new HashMap<>();
        new MapInit().mapInit(this);
        new ItemInit().itemInit(this);
    }


}
